<%@ page session="true"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<%@ taglib prefix="disp" uri="http://displaytag.sf.net" %>
<%@ page isELIgnored="false" %>

<%@page import="java.util.Date;"%>

<html>
    <head><title>Hello :: Spring Application</title></head>
    <body>
        <h1>Hello - Spring Application</h1>
        
        <table>
            <tr><th>id</th><th>rank</th><th>title</th><th>description</th><th>tags</th></tr>
            <c:forEach var="book" items="${books}">
            
                <tr>
                   
                        <td><a href="bookDetails.htm?bookId=<c:out value='${book.id}'/>"><c:out value="${book.id}"/></a></td>
                        <td><c:out value="${book.rank}"/></td>
						<td><c:out value="${book.title}"/></td>
						<td><c:out value="${book.description}"/></td>
                        <td><c:out value="${book.tags}"/></td>
                   
                </tr>
                
            </c:forEach> 
        </table>
        <hr>
	
  
    </body>
</html>